<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
    <script src="js/jquery-3.7.1.js"></script>
</head>
<body>
    <h1>用户认证 —— Ajax实现</h1>
    <form id="frm">
        帐号：<input type="text" name="username" id="ipt_name"><br/>
        密码：<input type="text" name="password" id="ipt_pass"><br/>
        <input type="button" id="btn" value="登录">
        <span id="r"></span>
        <br/>
    </form>

    <script src="js/login.js"> </script>
</body>
</html>